package com.xzy.entities;

import com.xzy.custom.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * TODO
 *
 * @author XiangZhongyi
 * ClassName: 用户角色类
 * date: 2021/9/19 23:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysRole extends BaseEntity<Integer> {
    /**
     * 权限名称
     * */
    private String roleName;
    /**
     * 权限代码
     * */
    private String roleCode;
    private List<SysUser> user = new ArrayList<>();

}
